import 'package:json_annotation/json_annotation.dart';
import 'package:xindong/models/user/xindong_other_user.dart';

part 'xindong_dongtai_publish_class.g.dart';

@JsonSerializable()
class XinDongDongTaiPublishClass {
  int type = 0;
  String citys = "";
  String content = "";
  String masterimg = ""; // 多图用逗号隔开
  String video = "";
  String cover = "";

  XinDongDongTaiPublishClass();

  factory XinDongDongTaiPublishClass.fromJson(Map<String, dynamic> json) => _$XinDongDongTaiPublishClassFromJson(json);

  @override
  Map<String, dynamic> toJson() => _$XinDongDongTaiPublishClassToJson(this);
}
